package kr.hkit.powerjava.alone;

import javax.swing.JPanel;
import javax.swing.JTextField;

public class text extends JPanel {
	private JTextField textField;

	/**
	 * Create the panel.
	 */
	public text() {

		initialize();
	}
	private void initialize() {
		
		textField = new JTextField();
		add(textField);
		textField.setColumns(10);
	}
	
	
	public String getTextField() {
		return textField.getText();
	}
	
	public void setTextField(String text) {
		textField.setText(text);
	}

}
